TIME=`date "+%Y.%m.%d.%H.%M"`
IMAGE_NAME=zgy-base-es
IMAGE_TAG=${TIME}


docker build --build-arg JAR_FILE=IC-base-es-server.jar -t ${IMAGE_NAME}:${IMAGE_TAG} .
docker run -dit --name zgy-base-es-server -p 19209:19209 ${IMAGE_NAME}:${IMAGE_TAG}

echo "${IMAGE_NAME}:${IMAGE_TAG}" > IMAGE
